<div class="content">
	<div id="left-column">
		<?php echo $this->element('left_column')?>		
	</div>
	
	<div class="right-store-column search-bg">
		<?php echo $this->element('search_more',array('plugin'=>'store'))?>
	</div>
	
	<div class="right-store-column">
		<div class="right-content">
		<?php if($session->check("Auth.User.id")){?>
			<h2 class="red"><?php __d("store","Logout")?></h2>
 			<?php echo $session->read("Auth.User.email")?> | 
    		<?php echo $html->link(__d("store","Logout",true),array('plugin'=>false,'controller'=>'users','action'=>'logout'),array('class'=>'button'));?>
		<?php }else{?>
		<h2 class="red"><?php __d("store","Login")?></h2>
		<div class="text-content">
			<?php
			echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' =>'login')));
			echo $this->Form->input('User.email');
			echo $this->Form->input('User.password');
			?>
			<div class="input text required"><input class="submit-search" type="image" src="/img/store.moon/buttons_submit.png" style="border: none; padding: 0px; margin: 0px;" /></div>
			<?php 
			echo $this->Form->end();
			echo $html->link(__d("store","Forgot your password?",true),array('controller'=>'users','action'=>'new_password',$this->data['User']['id']));
			?>
		</div>
		<?php }?>
		</div>
	</div>
</div>
<div class="clr"></div>